using System;

[Serializable]
public class Inventory_EquipmentSlot
{
    public ItemType slotType;
    public Inventory_Item equipedItem;

    //判断当前装备是否能够插入卡槽
    public bool HasPlugSlot() => equipedItem != null && equipedItem.itemData != null;


    public Inventory_EquipmentSlot(ItemDataSO itemData)
    {
        equipedItem = new(itemData);
        slotType = equipedItem.itemData.itemType;
    }
}
